package day07;

import com.sun.scenario.effect.impl.hw.ShaderSource;

public class OverloadDome {
    public static void main(String[] args) {
        show();
        show("九亿少女的梦");
        show(23);
        show("九亿少女的梦",25);
        show(25,"九亿少女的梦");
        //show(3.15);//编译错误，没有double参的数




    }
    public static void show(){ }
    public static void show(String name) { }
    public static void show(int age){ }
    public static void show(String name,int age){ }
    public static void show(int age,String name){ }
    //public static void show(){return 1;}//编译错误，重载与返回值类型无关
    //public static void show(String address){}//编译错误，重载与参数名称无关






}
